[INFO] fetching crate good_memory_allocator 0.1.7...
[INFO] checking good_memory_allocator-0.1.7 against master#158f00a1c5175648af6f6099b075f78d1d014a28 for pr-121251
[INFO] extracting crate good_memory_allocator 0.1.7 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate good_memory_allocator 0.1.7 on toolchain 158f00a1c5175648af6f6099b075f78d1d014a28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate good_memory_allocator 0.1.7
[INFO] finished tweaking crates.io crate good_memory_allocator 0.1.7
[INFO] tweaked toml for crates.io crate good_memory_allocator 0.1.7 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate crates.io crate good_memory_allocator 0.1.7 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded average v0.13.1
[INFO] [stderr]   Downloaded linked_list_allocator v0.10.3
[INFO] [stderr]   Downloaded easy-cast v0.4.4
[INFO] [stderr]   Downloaded simple-chunk-allocator v0.1.5
[INFO] [stderr]   Downloaded raw-cpuid v10.6.0
[INFO] [stderr]   Downloaded spinning_top v0.2.4
[INFO] [stderr]   Downloaded x86 v0.51.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7b554d4272f9ac99cfd34e9dd769023d1d993074cfec0b80a2fd14e4b26f5926
[INFO] running `Command { std: "docker" "start" "-a" "7b554d4272f9ac99cfd34e9dd769023d1d993074cfec0b80a2fd14e4b26f5926", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7b554d4272f9ac99cfd34e9dd769023d1d993074cfec0b80a2fd14e4b26f5926", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b554d4272f9ac99cfd34e9dd769023d1d993074cfec0b80a2fd14e4b26f5926", kill_on_drop: false }`
[INFO] [stdout] 7b554d4272f9ac99cfd34e9dd769023d1d993074cfec0b80a2fd14e4b26f5926
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ecbc21d7b128287b98803d0fc545c79681d80a60a6ba4de8184d78ce9f5ea97a
[INFO] running `Command { std: "docker" "start" "-a" "ecbc21d7b128287b98803d0fc545c79681d80a60a6ba4de8184d78ce9f5ea97a", kill_on_drop: false }`
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling libc v0.2.133
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling x86 v0.51.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking bit_field v0.10.1
[INFO] [stderr]     Checking float-ord v0.3.2
[INFO] [stderr]     Checking either v1.8.0
[INFO] [stderr]     Checking raw-cpuid v10.6.0
[INFO] [stderr]     Checking easy-cast v0.4.4
[INFO] [stderr]     Checking spin v0.9.4
[INFO] [stderr]     Checking spinning_top v0.2.4
[INFO] [stderr]     Checking linked_list_allocator v0.10.3
[INFO] [stderr]     Checking simple-chunk-allocator v0.1.5
[INFO] [stderr]     Checking good_memory_allocator v0.1.7 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking average v0.13.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stdout] warning: the feature `nonnull_slice_from_raw_parts` has been stable since 1.70.0 and no longer requires an attribute to enable
[INFO] [stdout]   --> examples/simple_chunk_allocator_benchmark.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | #![feature(nonnull_slice_from_raw_parts)]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `SpinLockedAllocator<20, 8>: std::alloc::Allocator` is not satisfied
[INFO] [stdout]   --> examples/simple_chunk_allocator_benchmark.rs:79:43
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let bench_res_3 = benchmark_allocator(&mut galloc_allocator);
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^^ the trait `std::alloc::Allocator` is not implemented for `SpinLockedAllocator<20, 8>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `std::alloc::Allocator`:
[INFO] [stdout]              LockedHeap
[INFO] [stdout]              AllocatorApiGlue<'a, 'b, CHUNK_SIZE>
[INFO] [stdout]              std::alloc::Global
[INFO] [stdout]              System
[INFO] [stdout]              &A
[INFO] [stdout]    = note: required for the cast from `&mut SpinLockedAllocator<20, 8>` to `&mut dyn std::alloc::Allocator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]    --> examples/allocator_benchmarks.rs:178:14
[INFO] [stdout]     |
[INFO] [stdout] 178 |     unsafe { &GALLOC_ALLOCATOR }
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 178 |     unsafe { addr_of!(GALLOC_ALLOCATOR) }
[INFO] [stdout]     |              ~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `good_memory_allocator` (example "simple_chunk_allocator_benchmark") due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0080]: it is undefined behavior to use this value
[INFO] [stdout]    --> examples/allocator_benchmarks.rs:112:1
[INFO] [stdout]     |
[INFO] [stdout] 112 | static CHUNK_ALLOCATOR: GlobalChunkAllocator<'static, CHUNK_SIZE> =
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ constructing invalid value at .0.inner.data.value.heap: encountered mutable reference in a `const` or `static`
[INFO] [stdout]     |
[INFO] [stdout]     = note: The rules on what exactly is undefined behavior aren't clear, so this check might be overzealous. Please open an issue on the rustc repository if you believe it should not be considered undefined behavior.
[INFO] [stdout]     = note: the raw bytes of the constant (size: 80, align: 8) {
[INFO] [stdout]                 0x00 │ 00 __ __ __ __ __ __ __ ╾───────alloc15───────╼ │ .░░░░░░░╾──────╼
[INFO] [stdout]                 0x10 │ 00 00 00 10 00 00 00 00 ╾───────alloc16───────╼ │ ........╾──────╼
[INFO] [stdout]                 0x20 │ 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 │ ................
[INFO] [stdout]                 0x30 │ 01 00 00 00 00 00 00 00 00 00 10 00 00 00 00 00 │ ................
[INFO] [stdout]                 0x40 │ 00 00 00 00 00 00 00 00 01 __ __ __ __ __ __ __ │ .........░░░░░░░
[INFO] [stdout]             }
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0080`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `good_memory_allocator` (example "allocator_benchmarks") due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "ecbc21d7b128287b98803d0fc545c79681d80a60a6ba4de8184d78ce9f5ea97a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ecbc21d7b128287b98803d0fc545c79681d80a60a6ba4de8184d78ce9f5ea97a", kill_on_drop: false }`
[INFO] [stdout] ecbc21d7b128287b98803d0fc545c79681d80a60a6ba4de8184d78ce9f5ea97a
[INFO] checking good_memory_allocator-0.1.7 against try#b4fc5dbf0bc33be331f9d893db5b3a794f29724a+rustflags=-Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds for pr-121251
[INFO] extracting crate good_memory_allocator 0.1.7 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate good_memory_allocator 0.1.7 on toolchain b4fc5dbf0bc33be331f9d893db5b3a794f29724a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate good_memory_allocator 0.1.7
[INFO] finished tweaking crates.io crate good_memory_allocator 0.1.7
[INFO] tweaked toml for crates.io crate good_memory_allocator 0.1.7 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate crates.io crate good_memory_allocator 0.1.7 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c366cba39c4e08e3ccdc2c71a0fa7fd77e8e3bb25c0d69d959833991baeaf3b0
[INFO] running `Command { std: "docker" "start" "-a" "c366cba39c4e08e3ccdc2c71a0fa7fd77e8e3bb25c0d69d959833991baeaf3b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c366cba39c4e08e3ccdc2c71a0fa7fd77e8e3bb25c0d69d959833991baeaf3b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c366cba39c4e08e3ccdc2c71a0fa7fd77e8e3bb25c0d69d959833991baeaf3b0", kill_on_drop: false }`
[INFO] [stdout] c366cba39c4e08e3ccdc2c71a0fa7fd77e8e3bb25c0d69d959833991baeaf3b0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d008842408d498fe423de1141dc81260e9dd6ab3cf31161fb18d08bcfa3bda40
[INFO] running `Command { std: "docker" "start" "-a" "d008842408d498fe423de1141dc81260e9dd6ab3cf31161fb18d08bcfa3bda40", kill_on_drop: false }`
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling libc v0.2.133
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling x86 v0.51.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking float-ord v0.3.2
[INFO] [stderr]     Checking bit_field v0.10.1
[INFO] [stderr]     Checking either v1.8.0
[INFO] [stderr]     Checking raw-cpuid v10.6.0
[INFO] [stderr]     Checking easy-cast v0.4.4
[INFO] [stderr]     Checking spin v0.9.4
[INFO] [stderr]     Checking spinning_top v0.2.4
[INFO] [stderr]     Checking linked_list_allocator v0.10.3
[INFO] [stderr]     Checking simple-chunk-allocator v0.1.5
[INFO] [stderr]     Checking good_memory_allocator v0.1.7 (/opt/rustwide/workdir)
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/bins.rs:167:30
[INFO] [stdout]     |
[INFO] [stdout] 167 |             &self.small_bins[perfect_size_fit_smallbin_index..used_smallbins_end_index],
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/bins.rs:204:30
[INFO] [stdout]     |
[INFO] [stdout] 204 |             &self.small_bins[optimal_smallbins_end..],
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/bins.rs:257:50
[INFO] [stdout]     |
[INFO] [stdout] 257 |         let smallbins_to_check = self.small_bins[optimal_smallbins_end..].iter();
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/bins.rs:394:49
[INFO] [stdout]     |
[INFO] [stdout] 394 |                     smallbin.alignment_sub_bins[alignment_index..]
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking average v0.13.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> examples/allocator_benchmarks.rs:100:39
[INFO] [stdout]     |
[INFO] [stdout] 100 |                           &INIT_FN_NAME["init_".len()..]
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |       let allocators = allocator_list!(
[INFO] [stdout]     |  ______________________-
[INFO] [stdout] 128 | |         init_galloc,
[INFO] [stdout] 129 | |         init_linked_list_allocator,
[INFO] [stdout] 130 | |         init_chunk_allocator
[INFO] [stdout] 131 | |     );
[INFO] [stdout]     | |_____- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-W range-syntax`
[INFO] [stdout]     = note: this warning originates in the macro `allocator_list` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> examples/simple_chunk_allocator_benchmark.rs:101:41
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let alignment_i = rng.gen_range(0..powers_of_two.len());
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]    --> examples/allocator_benchmarks.rs:135:38
[INFO] [stdout]     |
[INFO] [stdout] 135 |             let scores_as_strings = (TIME_STEP_MILLIS..=MILLIS_PER_SECOND)
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> examples/allocator_benchmarks.rs:139:39
[INFO] [stdout]     |
[INFO] [stdout] 139 |                     let mean: Mean = (0..TRIALS_AMOUNT)
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> examples/allocator_benchmarks.rs:202:36
[INFO] [stdout]     |
[INFO] [stdout] 202 |         let action = rng.gen_range(0..3);
[INFO] [stdout]     |                                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> examples/simple_chunk_allocator_benchmark.rs:102:34
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let size = rng.gen_range(64..16384);
[INFO] [stdout]     |                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]    --> examples/allocator_benchmarks.rs:206:42
[INFO] [stdout]     |
[INFO] [stdout] 206 |                 let size = rng.gen_range(100..=1000);
[INFO] [stdout]     |                                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> examples/simple_chunk_allocator_benchmark.rs:116:74
[INFO] [stdout]     |
[INFO] [stdout] 116 |             if count_all_allocations_not_freed_yet > 10 && rng.gen_range(0..10) == 0 {
[INFO] [stdout]     |                                                                          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]    --> examples/allocator_benchmarks.rs:207:52
[INFO] [stdout]     |
[INFO] [stdout] 207 |                 let alignment = 1 << rng.gen_range(0..=10);
[INFO] [stdout]     |                                                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> examples/allocator_benchmarks.rs:214:47
[INFO] [stdout]     |
[INFO] [stdout] 214 |                     let index = rng.gen_range(0..v.len());
[INFO] [stdout]     |                                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]    --> examples/allocator_benchmarks.rs:220:46
[INFO] [stdout]     |
[INFO] [stdout] 220 |                     let size = rng.gen_range(100..=10000);
[INFO] [stdout]     |                                              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]    --> examples/allocator_benchmarks.rs:242:34
[INFO] [stdout]     |
[INFO] [stdout] 242 |         let size = rng.gen_range(10000..=300000);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]    --> examples/allocator_benchmarks.rs:243:44
[INFO] [stdout]     |
[INFO] [stdout] 243 |         let alignment = 1 << rng.gen_range(0..=10);
[INFO] [stdout]     |                                            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `nonnull_slice_from_raw_parts` has been stable since 1.70.0 and no longer requires an attribute to enable
[INFO] [stdout]   --> examples/simple_chunk_allocator_benchmark.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | #![feature(nonnull_slice_from_raw_parts)]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]   --> src/alignment.rs:43:18
[INFO] [stdout]    |
[INFO] [stdout] 43 |         for i in 1..=20 {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]   --> src/alignment.rs:54:18
[INFO] [stdout]    |
[INFO] [stdout] 54 |         for i in 1..=20 {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]   --> src/alignment.rs:71:18
[INFO] [stdout]    |
[INFO] [stdout] 71 |         for i in 1..=20 {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/bins.rs:167:30
[INFO] [stdout]     |
[INFO] [stdout] 167 |             &self.small_bins[perfect_size_fit_smallbin_index..used_smallbins_end_index],
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/bins.rs:204:30
[INFO] [stdout]     |
[INFO] [stdout] 204 |             &self.small_bins[optimal_smallbins_end..],
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/bins.rs:257:50
[INFO] [stdout]     |
[INFO] [stdout] 257 |         let smallbins_to_check = self.small_bins[optimal_smallbins_end..].iter();
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/bins.rs:394:49
[INFO] [stdout]     |
[INFO] [stdout] 394 |                     smallbin.alignment_sub_bins[alignment_index..]
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/tests/mod.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     for _ in 0..TRIALS_AMOUNT {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `SpinLockedAllocator<20, 8>: std::alloc::Allocator` is not satisfied
[INFO] [stdout]   --> examples/simple_chunk_allocator_benchmark.rs:79:43
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let bench_res_3 = benchmark_allocator(&mut galloc_allocator);
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^^ the trait `std::alloc::Allocator` is not implemented for `SpinLockedAllocator<20, 8>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `std::alloc::Allocator`:
[INFO] [stdout]              LockedHeap
[INFO] [stdout]              AllocatorApiGlue<'a, 'b, CHUNK_SIZE>
[INFO] [stdout]              std::alloc::Global
[INFO] [stdout]              System
[INFO] [stdout]              &A
[INFO] [stdout]    = note: required for the cast from `&mut SpinLockedAllocator<20, 8>` to `&mut dyn std::alloc::Allocator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/tests/mod.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |         for _ in 0..RANDOM_ACTIONS_AMOUNT {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]   --> src/tests/mod.rs:33:52
[INFO] [stdout]    |
[INFO] [stdout] 33 |                 let unaligned_size = rng.gen_range(min_chunk_size..=max_chunk_size);
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]   --> src/tests/mod.rs:48:52
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 let alignment = 1 << rng.gen_range(0..=14);
[INFO] [stdout]    |                                                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/tests/mod.rs:71:54
[INFO] [stdout]    |
[INFO] [stdout] 71 |                     let random_index = rng.gen_range(0..allocations.len());
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/tests/mod.rs:89:54
[INFO] [stdout]    |
[INFO] [stdout] 89 |                     let random_index = rng.gen_range(0..allocations.len());
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]    --> examples/allocator_benchmarks.rs:178:14
[INFO] [stdout]     |
[INFO] [stdout] 178 |     unsafe { &GALLOC_ALLOCATOR }
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 178 |     unsafe { addr_of!(GALLOC_ALLOCATOR) }
[INFO] [stdout]     |              ~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `good_memory_allocator` (example "simple_chunk_allocator_benchmark") due to 2 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0080]: it is undefined behavior to use this value
[INFO] [stdout]    --> examples/allocator_benchmarks.rs:112:1
[INFO] [stdout]     |
[INFO] [stdout] 112 | static CHUNK_ALLOCATOR: GlobalChunkAllocator<'static, CHUNK_SIZE> =
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ constructing invalid value at .0.inner.data.value.heap: encountered mutable reference in a `const` or `static`
[INFO] [stdout]     |
[INFO] [stdout]     = note: The rules on what exactly is undefined behavior aren't clear, so this check might be overzealous. Please open an issue on the rustc repository if you believe it should not be considered undefined behavior.
[INFO] [stdout]     = note: the raw bytes of the constant (size: 80, align: 8) {
[INFO] [stdout]                 0x00 │ 00 __ __ __ __ __ __ __ ╾───────alloc15───────╼ │ .░░░░░░░╾──────╼
[INFO] [stdout]                 0x10 │ 00 00 00 10 00 00 00 00 ╾───────alloc16───────╼ │ ........╾──────╼
[INFO] [stdout]                 0x20 │ 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 │ ................
[INFO] [stdout]                 0x30 │ 01 00 00 00 00 00 00 00 00 00 10 00 00 00 00 00 │ ................
[INFO] [stdout]                 0x40 │ 00 00 00 00 00 00 00 00 01 __ __ __ __ __ __ __ │ .........░░░░░░░
[INFO] [stdout]             }
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0080`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `good_memory_allocator` (example "allocator_benchmarks") due to 2 previous errors; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d008842408d498fe423de1141dc81260e9dd6ab3cf31161fb18d08bcfa3bda40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d008842408d498fe423de1141dc81260e9dd6ab3cf31161fb18d08bcfa3bda40", kill_on_drop: false }`
[INFO] [stdout] d008842408d498fe423de1141dc81260e9dd6ab3cf31161fb18d08bcfa3bda40
